<- 있는 부분만 하는 부분만 수정해


[Constants]
global $is = 0

[Present]
post $is = 0

[TextureOverrideFaceHeadDiffuse]

hash = 20174ee8    //<- 이 부분은 수정하는 캐릭터의 FaceHeadDiffuse 해시 (보기 기준으로 라이덴 해시값)


match_priority = 0
$is = 1
post $is = 0



[TextureOverrideBrow] // 이름은 상관없어 일단 눈썹
hash = f4d23e3c //<- 해당하는 캐릭터 눈썹 vd
run = CommandListBrow


[CommandListBrow]
if $is == 1
	ResourceBrowDif = copy this
	run = CustomShaderNewBrow
	this = ResourceBrowDif
endif

[ResourceBrowDif]

[ResourceBrowBase]
type = RWBuffer
stride = 40
filename = Brow\base.buf //<- 해당 폴더 안에 들어있는 파일 이름

[ResourceBrowKey]
type = RWBuffer
stride = 40
filename = Brow\key.buf //<- 해당 폴더 안에 들어있는 파일 이름

[CustomShaderNewBrow]
cs = FaceTutorial.hlsl
cs-u1 = copy ResourceBrowDif
cs-t0 = copy ResourceBrowBase
cs-t1 = copy ResourceBrowKey

Dispatch = 52, 1, 1 // <- cleanbuffer 작업하기 전에 캐릭터 눈썹에 해당하는 vertex count 값 (라이덴은 52)

ResourceBrowDif = copy cs-u1
post cs-u1 = null




[TextureOverrideMouth] // 입&턱
hash = 40a41233  //<- 해당하는 캐릭터 입&턱 vd
run = CommandListMouth


[CommandListMouth]
if $is == 1
	ResourceMouthDif = copy this
	run = CustomShaderNewMouth
	this = ResourceMouthDif
endif

[ResourceMouthDif]

[ResourceMouthBase]
type = RWBuffer
stride = 40
filename = Mouth\base.buf //<- 해당 폴더 안에 들어있는 파일 이름

[ResourceMouthKey]
type = RWBuffer
stride = 40
filename = Mouth\key.buf //<- 해당 폴더 안에 들어있는 파일 이름

[CustomShaderNewMouth]
cs = FaceTutorial.hlsl
cs-u1 = copy ResourceMouthDif
cs-t0 = copy ResourceMouthBase
cs-t1 = copy ResourceMouthKey

Dispatch = 887, 1, 1  // <- cleanbuffer 작업하기 전에 캐릭터 턱에 해당하는 vertex count 값 (라이덴은 887)

ResourceMouthDif = copy cs-u1
post cs-u1 = null






[TextureOverrideEye] // 눈매
hash = 9d0bb110  //<- 해당하는 캐릭터 눈매 vd
run = CommandListEye


[CommandListEye]
if $is == 1
	ResourceEyeDif = copy this
	run = CustomShaderNewEye
	this = ResourceEyeDif
endif

[ResourceEyeDif]

[ResourceEyeBase]
type = RWBuffer
stride = 40
filename = Eye\base.buf //<- 해당 폴더 안에 들어있는 파일 이름

[ResourceEyeKey]
type = RWBuffer
stride = 40
filename = Eye\key.buf //<- 해당 폴더 안에 들어있는 파일 이름

[CustomShaderNewEye]
cs = FaceTutorial.hlsl

cs-u1 = copy ResourceEyeDif
cs-t0 = copy ResourceEyeBase
cs-t1 = copy ResourceEyeKey

Dispatch = 1038, 1, 1 // <- cleanbuffer 작업하기 전에 캐릭터 눈매에 해당하는 vertex count 값 (라이덴은 1038)

ResourceEyeDif = copy cs-u1
post cs-u1 = null


이렇게 수정하면 끝